//
//  MSView.h
//  OrderingMerchantsSide
//
//  Created by iOS on 2018/9/20.
//  Copyright © 2018年 mls. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol MSViewModelProtocol;
@protocol MSViewProtocol <NSObject>

- (instancetype)initWithViewModel:(id <MSViewModelProtocol>)viewModel;

- (void)ms_bindViewModel;
- (void)ms_addSubviews;

@end

@interface MSView : UIView <MSViewProtocol>

/** show HUD */
- (void)showHudWithMessage:(NSString *)message
                      mode:(MBProgressHUDMode)mode
                  autoHide:(BOOL)autoHide;
/** hide HUD */
- (void)hideHud;

@end

NS_ASSUME_NONNULL_END
